@import './unocss/index.scss';

.cu-rich-view {
	padding: 12px;
	box-sizing: border-box;
	line-height: 42rpx;
	image {
		display: inline-block;
		max-width: 100%;
		height: auto;
	}
	/* #ifdef H5 */
	img {
		display: inline-block;
		max-width: 100%;
		height: auto;
	}
	/* #endif */
	
}

.cu-footer {
	--height: 100rpx;
	&.cu-footer-large {
		--height: 120rpx;
		.uv-button--large {
			height: 88rpx;
			font-size: 32rpx;
		}
	}
	padding-bottom: var(--window-bottom);
	&, .cu-footer-fixed {
		height: var(--height);
	}
	.cu-footer-fixed {
		position: fixed;
		bottom: var(--window-bottom);
		left: 0;
		width: 100%;
		box-sizing: border-box;
		background-color: #ffffff;
		z-index: 10;
	}
}

.cu-card {
	&.rounded-0 {
	  border-radius: 0;
	}
	border-radius: 16rpx;
	background-color: #fff;
	margin-bottom: 24rpx;
	padding: 26rpx 28rpx;
}

.cu-textarea {
	background-color: #fff;
	position: relative;
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 16rpx 20rpx;
	border: 1rpx #dadbde solid;
	font-size: 28rpx;
	line-height: 40rpx;
	border-radius: 8rpx;
	&, & textarea {
		font-size: 28rpx;
		line-height: 40rpx;
	}
}

.cu-open-btn {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1;
}


.cu-bar  {
	height: 90rpx;
	display: flex;
	align-items: center;
	padding: 0 30rpx;
	
	.cu-bar-default {
		position: relative;
		z-index: 1;
		top: -6rpx;
		font-size: 36rpx;
	}
	
	.cu-bar-title {
		color: $uv-primary;
		font-weight: bold;
		text-shadow: 4rpx 4rpx 8rpx rgba(0, 102, 204, 0.2);
	}
	
	.cu-bar-subtitle{
		position: absolute;
		display: inline-block;
		bottom: -22rpx;
		left: 8rpx;
		opacity: 0.2;
		color: $uv-primary;
		text-align: right;
		font-weight: 800;
		z-index: 0;
	}
}
